//
//  PurchaseListInformationViewController.m
//  GLGW_Shoping
//
//  Created by yang on 2018/12/10.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "PurchaseListInformationViewController.h"
#import "PurlistInformationViewModel.h"
#import "InvitationBaoJiaViewController.h"
#import "BaoJiaViewController.h"

@interface PurchaseListInformationViewController ()<PurListInforDelegate>
@property(nonatomic,strong) PurlistInformationViewModel * purListInforViewModel;
@end

@implementation PurchaseListInformationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"普通求购详情";
    self.purListInforViewModel = [[PurlistInformationViewModel alloc] initWithViewToViewModel:self.groupedTableView theSuperView:self.view];
    self.purListInforViewModel.delegate = self;
    [self addNavigationItemWithTitles:@[@"什么是普通求购？"] isLeft:NO target:self action:@selector(whatIsNeed) tags:@[@33] theButTitColor:kColor_Rule_Yellow titFont:SYSTEMFONT(12)];
    // Do any additional setup after loading the view.
}

-(void)whatIsNeed{
    
}

#pragma mark --- PurListInforDelegate;
-(void)shareOneManAction{
    InvitationBaoJiaViewController * baojiaVc = [InvitationBaoJiaViewController new];
    [self.navigationController pushViewController:baojiaVc animated:YES];
}

-(void)goBaoJiaAction{
    BaoJiaViewController * baoJiaVc = [BaoJiaViewController new];
    [self.navigationController pushViewController:baoJiaVc animated:YES];
}

@end
